package org.cjlm.ui.pub;

import java.awt.*;

public class MCardLayout extends CardLayout {
    private String currentCardName = "list";
    @Override
    public void show(Container parent, String name) {
        super.show(parent,  name);
        this.currentCardName  = name; // 记录当前面板名称
    }
    public String getCurrentCardName() {
        return currentCardName;
    }
}
